<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./css/app.css">
  </head>
  <body>

    <script src="./js/app.js"></script>
    <script>
      app.ajax({
        method: "GET",
        url: "https://ku.qingnian8.com/dataApi/news/navlist.php",
        dataType: "json",
        success: (data) => console.log(data),
        error: (xhr, type, err) => console.error(type, err),
      });
    </script>
</html>
